﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FileSharing.Models
{
    public enum PathType
    {
        None,
        Drive,
        Directory,
        File,
        Unknown
    }

    public class PathInfoModel
    {
        public string FullPath { get; set; }
        public string Message { get; set; }
        public string DisplayName { get; set; }

        public PathType FileType { get; set; }

        public DateTime ModifiedTime { get; set; }

        public long Size { get; set; }

        public bool Exists { get; set; }
        public List<PathInfoModel> Children { get; set; }

        public PathInfoModel()
        {
            this.Children = new List<PathInfoModel>();
            this.FullPath = string.Empty;
            this.Message = string.Empty;
            this.DisplayName = string.Empty;            
        }
    }
}